package observer.practice_03;

/**
 * @author yi qiang
 * @date 2021/11/4 2:06
 */
public class PayService {


    PayService(){}

    public static void main(String[] args) {
        Context.getPaySubject().broadcast("充值成功");
        Context.getPaySubject().broadcast("充值失败");
    }

}
